package com.gridmobi.xrtb.domain.dsp;

import java.util.ArrayList;
import java.util.List;

public class AdvOverviewDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdvOverviewDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridIsNull() {
            addCriterion("advertiserId is null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridIsNotNull() {
            addCriterion("advertiserId is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridEqualTo(Integer value) {
            addCriterion("advertiserId =", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridNotEqualTo(Integer value) {
            addCriterion("advertiserId <>", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridGreaterThan(Integer value) {
            addCriterion("advertiserId >", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("advertiserId >=", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridLessThan(Integer value) {
            addCriterion("advertiserId <", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridLessThanOrEqualTo(Integer value) {
            addCriterion("advertiserId <=", value, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridIn(List<Integer> values) {
            addCriterion("advertiserId in", values, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridNotIn(List<Integer> values) {
            addCriterion("advertiserId not in", values, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridBetween(Integer value1, Integer value2) {
            addCriterion("advertiserId between", value1, value2, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertiseridNotBetween(Integer value1, Integer value2) {
            addCriterion("advertiserId not between", value1, value2, "advertiserid");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameIsNull() {
            addCriterion("advertiserName is null");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameIsNotNull() {
            addCriterion("advertiserName is not null");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameEqualTo(String value) {
            addCriterion("advertiserName =", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameNotEqualTo(String value) {
            addCriterion("advertiserName <>", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameGreaterThan(String value) {
            addCriterion("advertiserName >", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameGreaterThanOrEqualTo(String value) {
            addCriterion("advertiserName >=", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameLessThan(String value) {
            addCriterion("advertiserName <", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameLessThanOrEqualTo(String value) {
            addCriterion("advertiserName <=", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameLike(String value) {
            addCriterion("advertiserName like", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameNotLike(String value) {
            addCriterion("advertiserName not like", value, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameIn(List<String> values) {
            addCriterion("advertiserName in", values, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameNotIn(List<String> values) {
            addCriterion("advertiserName not in", values, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameBetween(String value1, String value2) {
            addCriterion("advertiserName between", value1, value2, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAdvertisernameNotBetween(String value1, String value2) {
            addCriterion("advertiserName not between", value1, value2, "advertisername");
            return (Criteria) this;
        }

        public Criteria andAffiliateidIsNull() {
            addCriterion("affiliateId is null");
            return (Criteria) this;
        }

        public Criteria andAffiliateidIsNotNull() {
            addCriterion("affiliateId is not null");
            return (Criteria) this;
        }

        public Criteria andAffiliateidEqualTo(Integer value) {
            addCriterion("affiliateId =", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidNotEqualTo(Integer value) {
            addCriterion("affiliateId <>", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidGreaterThan(Integer value) {
            addCriterion("affiliateId >", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidGreaterThanOrEqualTo(Integer value) {
            addCriterion("affiliateId >=", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidLessThan(Integer value) {
            addCriterion("affiliateId <", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidLessThanOrEqualTo(Integer value) {
            addCriterion("affiliateId <=", value, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidIn(List<Integer> values) {
            addCriterion("affiliateId in", values, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidNotIn(List<Integer> values) {
            addCriterion("affiliateId not in", values, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidBetween(Integer value1, Integer value2) {
            addCriterion("affiliateId between", value1, value2, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliateidNotBetween(Integer value1, Integer value2) {
            addCriterion("affiliateId not between", value1, value2, "affiliateid");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameIsNull() {
            addCriterion("affiliateName is null");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameIsNotNull() {
            addCriterion("affiliateName is not null");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameEqualTo(String value) {
            addCriterion("affiliateName =", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameNotEqualTo(String value) {
            addCriterion("affiliateName <>", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameGreaterThan(String value) {
            addCriterion("affiliateName >", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameGreaterThanOrEqualTo(String value) {
            addCriterion("affiliateName >=", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameLessThan(String value) {
            addCriterion("affiliateName <", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameLessThanOrEqualTo(String value) {
            addCriterion("affiliateName <=", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameLike(String value) {
            addCriterion("affiliateName like", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameNotLike(String value) {
            addCriterion("affiliateName not like", value, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameIn(List<String> values) {
            addCriterion("affiliateName in", values, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameNotIn(List<String> values) {
            addCriterion("affiliateName not in", values, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameBetween(String value1, String value2) {
            addCriterion("affiliateName between", value1, value2, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andAffiliatenameNotBetween(String value1, String value2) {
            addCriterion("affiliateName not between", value1, value2, "affiliatename");
            return (Criteria) this;
        }

        public Criteria andOfferidIsNull() {
            addCriterion("offerId is null");
            return (Criteria) this;
        }

        public Criteria andOfferidIsNotNull() {
            addCriterion("offerId is not null");
            return (Criteria) this;
        }

        public Criteria andOfferidEqualTo(String value) {
            addCriterion("offerId =", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidNotEqualTo(String value) {
            addCriterion("offerId <>", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidGreaterThan(String value) {
            addCriterion("offerId >", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidGreaterThanOrEqualTo(String value) {
            addCriterion("offerId >=", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidLessThan(String value) {
            addCriterion("offerId <", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidLessThanOrEqualTo(String value) {
            addCriterion("offerId <=", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidLike(String value) {
            addCriterion("offerId like", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidNotLike(String value) {
            addCriterion("offerId not like", value, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidIn(List<String> values) {
            addCriterion("offerId in", values, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidNotIn(List<String> values) {
            addCriterion("offerId not in", values, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidBetween(String value1, String value2) {
            addCriterion("offerId between", value1, value2, "offerid");
            return (Criteria) this;
        }

        public Criteria andOfferidNotBetween(String value1, String value2) {
            addCriterion("offerId not between", value1, value2, "offerid");
            return (Criteria) this;
        }

        public Criteria andOffernameIsNull() {
            addCriterion("offerName is null");
            return (Criteria) this;
        }

        public Criteria andOffernameIsNotNull() {
            addCriterion("offerName is not null");
            return (Criteria) this;
        }

        public Criteria andOffernameEqualTo(String value) {
            addCriterion("offerName =", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameNotEqualTo(String value) {
            addCriterion("offerName <>", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameGreaterThan(String value) {
            addCriterion("offerName >", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameGreaterThanOrEqualTo(String value) {
            addCriterion("offerName >=", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameLessThan(String value) {
            addCriterion("offerName <", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameLessThanOrEqualTo(String value) {
            addCriterion("offerName <=", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameLike(String value) {
            addCriterion("offerName like", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameNotLike(String value) {
            addCriterion("offerName not like", value, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameIn(List<String> values) {
            addCriterion("offerName in", values, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameNotIn(List<String> values) {
            addCriterion("offerName not in", values, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameBetween(String value1, String value2) {
            addCriterion("offerName between", value1, value2, "offername");
            return (Criteria) this;
        }

        public Criteria andOffernameNotBetween(String value1, String value2) {
            addCriterion("offerName not between", value1, value2, "offername");
            return (Criteria) this;
        }

        public Criteria andChannelIsNull() {
            addCriterion("channel is null");
            return (Criteria) this;
        }

        public Criteria andChannelIsNotNull() {
            addCriterion("channel is not null");
            return (Criteria) this;
        }

        public Criteria andChannelEqualTo(Integer value) {
            addCriterion("channel =", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotEqualTo(Integer value) {
            addCriterion("channel <>", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThan(Integer value) {
            addCriterion("channel >", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelGreaterThanOrEqualTo(Integer value) {
            addCriterion("channel >=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThan(Integer value) {
            addCriterion("channel <", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelLessThanOrEqualTo(Integer value) {
            addCriterion("channel <=", value, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelIn(List<Integer> values) {
            addCriterion("channel in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotIn(List<Integer> values) {
            addCriterion("channel not in", values, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelBetween(Integer value1, Integer value2) {
            addCriterion("channel between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andChannelNotBetween(Integer value1, Integer value2) {
            addCriterion("channel not between", value1, value2, "channel");
            return (Criteria) this;
        }

        public Criteria andRevenuesIsNull() {
            addCriterion("revenues is null");
            return (Criteria) this;
        }

        public Criteria andRevenuesIsNotNull() {
            addCriterion("revenues is not null");
            return (Criteria) this;
        }

        public Criteria andRevenuesEqualTo(Long value) {
            addCriterion("revenues =", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesNotEqualTo(Long value) {
            addCriterion("revenues <>", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesGreaterThan(Long value) {
            addCriterion("revenues >", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesGreaterThanOrEqualTo(Long value) {
            addCriterion("revenues >=", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesLessThan(Long value) {
            addCriterion("revenues <", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesLessThanOrEqualTo(Long value) {
            addCriterion("revenues <=", value, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesIn(List<Long> values) {
            addCriterion("revenues in", values, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesNotIn(List<Long> values) {
            addCriterion("revenues not in", values, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesBetween(Long value1, Long value2) {
            addCriterion("revenues between", value1, value2, "revenues");
            return (Criteria) this;
        }

        public Criteria andRevenuesNotBetween(Long value1, Long value2) {
            addCriterion("revenues not between", value1, value2, "revenues");
            return (Criteria) this;
        }

        public Criteria andConvsIsNull() {
            addCriterion("convs is null");
            return (Criteria) this;
        }

        public Criteria andConvsIsNotNull() {
            addCriterion("convs is not null");
            return (Criteria) this;
        }

        public Criteria andConvsEqualTo(Long value) {
            addCriterion("convs =", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsNotEqualTo(Long value) {
            addCriterion("convs <>", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsGreaterThan(Long value) {
            addCriterion("convs >", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsGreaterThanOrEqualTo(Long value) {
            addCriterion("convs >=", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsLessThan(Long value) {
            addCriterion("convs <", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsLessThanOrEqualTo(Long value) {
            addCriterion("convs <=", value, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsIn(List<Long> values) {
            addCriterion("convs in", values, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsNotIn(List<Long> values) {
            addCriterion("convs not in", values, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsBetween(Long value1, Long value2) {
            addCriterion("convs between", value1, value2, "convs");
            return (Criteria) this;
        }

        public Criteria andConvsNotBetween(Long value1, Long value2) {
            addCriterion("convs not between", value1, value2, "convs");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberIsNull() {
            addCriterion("clientdashNumber is null");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberIsNotNull() {
            addCriterion("clientdashNumber is not null");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberEqualTo(Integer value) {
            addCriterion("clientdashNumber =", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberNotEqualTo(Integer value) {
            addCriterion("clientdashNumber <>", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberGreaterThan(Integer value) {
            addCriterion("clientdashNumber >", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("clientdashNumber >=", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberLessThan(Integer value) {
            addCriterion("clientdashNumber <", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberLessThanOrEqualTo(Integer value) {
            addCriterion("clientdashNumber <=", value, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberIn(List<Integer> values) {
            addCriterion("clientdashNumber in", values, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberNotIn(List<Integer> values) {
            addCriterion("clientdashNumber not in", values, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberBetween(Integer value1, Integer value2) {
            addCriterion("clientdashNumber between", value1, value2, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andClientdashnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("clientdashNumber not between", value1, value2, "clientdashnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberIsNull() {
            addCriterion("confirmNumber is null");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberIsNotNull() {
            addCriterion("confirmNumber is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberEqualTo(Integer value) {
            addCriterion("confirmNumber =", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberNotEqualTo(Integer value) {
            addCriterion("confirmNumber <>", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberGreaterThan(Integer value) {
            addCriterion("confirmNumber >", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("confirmNumber >=", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberLessThan(Integer value) {
            addCriterion("confirmNumber <", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberLessThanOrEqualTo(Integer value) {
            addCriterion("confirmNumber <=", value, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberIn(List<Integer> values) {
            addCriterion("confirmNumber in", values, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberNotIn(List<Integer> values) {
            addCriterion("confirmNumber not in", values, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberBetween(Integer value1, Integer value2) {
            addCriterion("confirmNumber between", value1, value2, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andConfirmnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("confirmNumber not between", value1, value2, "confirmnumber");
            return (Criteria) this;
        }

        public Criteria andDeductionIsNull() {
            addCriterion("deduction is null");
            return (Criteria) this;
        }

        public Criteria andDeductionIsNotNull() {
            addCriterion("deduction is not null");
            return (Criteria) this;
        }

        public Criteria andDeductionEqualTo(Long value) {
            addCriterion("deduction =", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionNotEqualTo(Long value) {
            addCriterion("deduction <>", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionGreaterThan(Long value) {
            addCriterion("deduction >", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionGreaterThanOrEqualTo(Long value) {
            addCriterion("deduction >=", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionLessThan(Long value) {
            addCriterion("deduction <", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionLessThanOrEqualTo(Long value) {
            addCriterion("deduction <=", value, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionIn(List<Long> values) {
            addCriterion("deduction in", values, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionNotIn(List<Long> values) {
            addCriterion("deduction not in", values, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionBetween(Long value1, Long value2) {
            addCriterion("deduction between", value1, value2, "deduction");
            return (Criteria) this;
        }

        public Criteria andDeductionNotBetween(Long value1, Long value2) {
            addCriterion("deduction not between", value1, value2, "deduction");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Integer value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Integer value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Integer value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Integer value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Integer value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Integer value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Integer> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Integer> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Integer value1, Integer value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Integer value1, Integer value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andViewmonthIsNull() {
            addCriterion("viewMonth is null");
            return (Criteria) this;
        }

        public Criteria andViewmonthIsNotNull() {
            addCriterion("viewMonth is not null");
            return (Criteria) this;
        }

        public Criteria andViewmonthEqualTo(String value) {
            addCriterion("viewMonth =", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthNotEqualTo(String value) {
            addCriterion("viewMonth <>", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthGreaterThan(String value) {
            addCriterion("viewMonth >", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthGreaterThanOrEqualTo(String value) {
            addCriterion("viewMonth >=", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthLessThan(String value) {
            addCriterion("viewMonth <", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthLessThanOrEqualTo(String value) {
            addCriterion("viewMonth <=", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthLike(String value) {
            addCriterion("viewMonth like", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthNotLike(String value) {
            addCriterion("viewMonth not like", value, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthIn(List<String> values) {
            addCriterion("viewMonth in", values, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthNotIn(List<String> values) {
            addCriterion("viewMonth not in", values, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthBetween(String value1, String value2) {
            addCriterion("viewMonth between", value1, value2, "viewmonth");
            return (Criteria) this;
        }

        public Criteria andViewmonthNotBetween(String value1, String value2) {
            addCriterion("viewMonth not between", value1, value2, "viewmonth");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}